package com.hgb.mall.admin.services.impl;


import com.hgb.mall.admin.services.OmsCompanyAddressService;
import com.hgb.mall.mbg.entity.OmsCompanyAddress;
import com.hgb.mall.mbg.mapper.OmsCompanyAddressMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 收货地址管理Service实现类
 * Created by hgb on 2020/10/18.
 */
@Service
public class OmsCompanyAddressServiceImpl implements OmsCompanyAddressService {
    @Autowired
    private OmsCompanyAddressMapper companyAddressMapper;

    @Override
    public List<OmsCompanyAddress> list() {
        return companyAddressMapper.select(c -> c);
    }
}
